<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <style>
        div{
            position: fixed;
            top:10%;
            left: 35%;
        }
    </style>
</head>
<body>
    <div>
        <form action="/login" method="post">

            用户名:<input type="text" name="userName" /><br>

            密&nbsp;&nbsp;&nbsp;码 :<input type="password" name="password"/><br>

            <input type="submit" value="登陆"/>

        </form>
    </div>
</body>
</html>